package com.governtalk.backend.dto.question;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QuestionDto {
    private Long id;
    private String content;
    private String type;
    private String difficulty;
    private String status;
    private Long creatorId;
    private String creatorName;
    private Long categoryId;
    private String categoryName;
    private List<QuestionOptionDto> options;
    private String explanation;
    private Integer maxScore;
    private Integer usedCount;
    private Float correctRate;
    private Float averageScore;
    private Boolean isPublic;
    private Boolean isOfficial;
    private String imageUrl;
    private Boolean isHot;
    private Boolean isRecommended;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
